package cn.ticket.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.ticket.model.Relatives;

public interface RelativesService {
	 int deleteByPrimaryKey(Integer id);

	    int insert(Relatives record);

	    int insertSelective(Relatives record);

	    Relatives selectByPrimaryKey(Integer id);

	    int updateByPrimaryKeySelective(Relatives record);

	    int updateByPrimaryKey(Relatives record);
	    
	    List<Relatives> getAll();
	    
	    List<Relatives> getByStaffId(int staffId);
	    
	    List<Relatives> getByStaffIdAndName(int staffId,String name);
}
